set base_dir=%~dp0  
%base_dir:~0,2%
pushd %base_dir%

xcopy ".\yate\windows\Debug\libregex.lib" ".\lib\debug\" /y
xcopy ".\yate\windows\Debug\Libyate.lib" ".\lib\debug\" /y
xcopy ".\yate\windows\Release\Libyate.lib" ".\lib\release\" /y
xcopy ".\yate\windows\Release\libregex.lib" ".\lib\release\" /y

xcopy ".\yate\windows\Debug\Libyate.dll" ".\bin\debug\" /y
xcopy ".\yate\windows\Debug\Libyate.pdb" ".\bin\debug\" /y

xcopy ".\yate\windows\Release\Libyate.dll" ".\bin\release\" /y

xcopy ".\bin\debug\Libyate.dll" ".\smarteye\bin\debug\" /y
xcopy ".\bin\debug\Libyate.pdb" ".\smarteye\bin\debug\" /y

xcopy ".\sqlitedb\lib\Debug\sqlitedb.pdb" ".\smarteye\build\modules\" /y
xcopy ".\sqlitedb\lib\Debug\sqlitedb.yate" ".\smarteye\build\modules\" /y

xcopy ".\auth\lib\Debug\auth.pdb" ".\smarteye\build\modules\" /y
xcopy ".\auth\lib\Debug\auth.yate" ".\smarteye\build\modules\" /y

xcopy ".\framework\lib\Debug\framework.pdb" ".\smarteye\build\modules\" /y
xcopy ".\framework\lib\Debug\framework.yate" ".\smarteye\build\modules\" /y

xcopy ".\bin\debug\sqlite3.dll" ".\smarteye\build\" /y

xcopy ".\gensql\lib\Debug\gensql.pdb" ".\smarteye\build\modules\" /y
xcopy ".\gensql\lib\Debug\gensql.yate" ".\smarteye\build\modules\" /y

xcopy ".\protocol\lib\Debug\protocol.pdb" ".\smarteye\build\modules\" /y
xcopy ".\protocol\lib\Debug\protocol.yate" ".\smarteye\build\modules\" /y

xcopy ".\framework\lib\Release\framework.lib" ".\lib\release\" /y
xcopy ".\framework\lib\Debug\framework.lib" ".\lib\debug\" /y

xcopy ".\xsip\lib\Release\xsip.lib" ".\lib\release\" /y
xcopy ".\xsip\lib\Debug\xsip.lib" ".\lib\debug\" /y

:---------------------------------------
xcopy ".\yate\yatecbase.h" ".\include\yate\" /y
xcopy ".\yate\yateclass.h" ".\include\yate\" /y
xcopy ".\yate\yatemime.h" ".\include\yate\" /y
xcopy ".\yate\yatengine.h" ".\include\yate\" /y
xcopy ".\yate\yatephone.h" ".\include\yate\" /y

xcopy ".\framework\src\framework.h" ".\include\framework\" /y

xcopy ".\xsip\src\libxsip.h" ".\include\xsip\" /y
xcopy ".\xsip\src\msg.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xcall.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xcommand.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xcontent.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xdatareceiver.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xdialog.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xevent.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xheader.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xmessage.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xobject.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xrequest.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xresponse.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xtransaction.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xtransport.h" ".\include\xsip\" /y
xcopy ".\xsip\src\xdgramtransport.h" ".\include\xsip\" /y
xcopy ".\xsip\src\DelayQueue.hh" ".\include\xsip\" /y


popd